package com.adtech.adms.device.pojo;

import java.sql.Timestamp;

/**
 * GuiSrvstat entity. @author MyEclipse Persistence Tools
 */

public class GuiSrvstat implements java.io.Serializable {

	// Fields

	private Integer id;
	private String serviceName;
	private String hostIp;
	private Double cpuUsage;
	private Long memUsage;
	private Long ioRead;
	private Long ioWrite;
	private Integer connection;
	private Long uptime;
	private Integer openfiles;
	private Integer diskSpace;
	private Timestamp createDate;

	// Constructors

	/** default constructor */
	public GuiSrvstat() {
	}

	/** full constructor */
	public GuiSrvstat(String serviceName, String hostIp, Double cpuUsage,
			Long memUsage, Long ioRead, Long ioWrite, Integer connection,
			Long uptime, Integer openfiles, Integer diskSpace,
			Timestamp createDate) {
		this.serviceName = serviceName;
		this.hostIp = hostIp;
		this.cpuUsage = cpuUsage;
		this.memUsage = memUsage;
		this.ioRead = ioRead;
		this.ioWrite = ioWrite;
		this.connection = connection;
		this.uptime = uptime;
		this.openfiles = openfiles;
		this.diskSpace = diskSpace;
		this.createDate = createDate;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getServiceName() {
		return this.serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public String getHostIp() {
		return this.hostIp;
	}

	public void setHostIp(String hostIp) {
		this.hostIp = hostIp;
	}

	public Double getCpuUsage() {
		return this.cpuUsage;
	}

	public void setCpuUsage(Double cpuUsage) {
		this.cpuUsage = cpuUsage;
	}

	public Long getMemUsage() {
		return this.memUsage;
	}

	public void setMemUsage(Long memUsage) {
		this.memUsage = memUsage;
	}

	public Long getIoRead() {
		return this.ioRead;
	}

	public void setIoRead(Long ioRead) {
		this.ioRead = ioRead;
	}

	public Long getIoWrite() {
		return this.ioWrite;
	}

	public void setIoWrite(Long ioWrite) {
		this.ioWrite = ioWrite;
	}

	public Integer getConnection() {
		return this.connection;
	}

	public void setConnection(Integer connection) {
		this.connection = connection;
	}

	public Long getUptime() {
		return this.uptime;
	}

	public void setUptime(Long uptime) {
		this.uptime = uptime;
	}

	public Integer getOpenfiles() {
		return this.openfiles;
	}

	public void setOpenfiles(Integer openfiles) {
		this.openfiles = openfiles;
	}

	public Integer getDiskSpace() {
		return this.diskSpace;
	}

	public void setDiskSpace(Integer diskSpace) {
		this.diskSpace = diskSpace;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

}